package net.jxvtc.blogv1.vo;

/**
 * @program: blog_v1
 * @description: 响应通用类
 * @author: 蓝建平
 * @create: 2020-10-24 13:06
 **/
public class Response {
    private boolean success;
    private String message;
    private  Object body;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }

    public Response(boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    public Response(boolean success, String message, Object body) {
        this.success = success;
        this.message = message;
        this.body = body;
    }
}
